<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="/struts-tags" prefix="s"%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <title>登陆</title>
    <link rel="stylesheet" type="text/css" href="jQuery/themes/default/easyui.css">
	<link rel="stylesheet" type="text/css" href="jQuery/themes/icon.css">
    <script type="text/javascript" src="jQuery/jquery-1.4.4.min.js"></script>
	<script type="text/javascript" src="jQuery/easyloader.js"></script>
	<script type="text/javascript">
		//构建登陆弹出窗口 
		using(['dialog','messager'], function(){
			$('#login').dialog({
				title:'欢迎您',
				width:300,
				height:225
			});
		});
	</script>
  </head>
  
  <body bgcolor="#E8F0FD">
  	<br/><br/><br/><br/><br/>
  	<h1 align="center">重庆理工大学 <br><br>数字化系统</h1>
    <div id="login">
    	<br/><br/>
    	 <s:form action="checklogin" theme="simple">
			<table border="0" align="center">
				<tr>
					<td align="right">
						用户ID：&nbsp;<input name="user.u_id" class="easyui-validatebox" required="true" missingMessage="请输入用户ID">
					</td>
				</tr>
				<tr>
					<td align="right">
						密  &nbsp; 码：&nbsp;<input name="user.u_password" class="easyui-validatebox" required="true" missingMessage="请输入用户密码">
					</td>
				</tr>
				<tr>
					<td align="right">
						类   &nbsp; 型：&nbsp;<select name="user.u_rank" class="easyui-combobox" style="width:152px;">
							<option value="0" selected="selected">学生</option>
							<option value="1">班委</option>
							<option value="2">教师</option>
							<option value="3">管理员</option>
						</select>
					</td>
				</tr>
				<tr>
					<td align="center">
						<br/>
						<s:submit value="登陆" theme="simple"></s:submit>
					</td>
				</tr>
			</table>
    	 </s:form>
    </div>
  </body>
</html>
